package com.ruoyi.cbs.project.service;

import java.util.List;
import com.ruoyi.cbs.project.domain.ProjectStartApplication;
import com.ruoyi.cbs.project.domain.vo.InitApplicationRespVO;
import com.ruoyi.cbs.project.domain.vo.StartProjectReqVO;

/**
 * 项目开工申请Service接口
 * 
 * @author ruoyi
 * @date 2025-11-12
 */
public interface IProjectStartApplicationService 
{
    /**
     * 查询项目开工申请
     * 
     * @param id 项目开工申请主键
     * @return 项目开工申请
     */
    public ProjectStartApplication selectProjectStartApplicationById(Long id);

    /**
     * 查询项目开工申请列表
     * 
     * @param projectStartApplication 项目开工申请
     * @return 项目开工申请集合
     */
    public List<ProjectStartApplication> selectProjectStartApplicationList(ProjectStartApplication projectStartApplication);

    /**
     * 获取初始化信息
     * @param projectId
     * @return
     */
    public InitApplicationRespVO getInitApplicationInfo(Long projectId);

    /**
     * 开工申请
     * @param startProjectReqVO
     * @return
     */
    public int startApplicationApply(StartProjectReqVO startProjectReqVO);

    /**
     * 新增项目开工申请
     * 
     * @param projectStartApplication 项目开工申请
     * @return 结果
     */
    public int insertProjectStartApplication(ProjectStartApplication projectStartApplication);

    /**
     * 修改项目开工申请
     * 
     * @param projectStartApplication 项目开工申请
     * @return 结果
     */
    public int updateProjectStartApplication(ProjectStartApplication projectStartApplication);

    /**
     * 批量删除项目开工申请
     * 
     * @param ids 需要删除的项目开工申请主键集合
     * @return 结果
     */
    public int deleteProjectStartApplicationByIds(Long[] ids);

    /**
     * 删除项目开工申请信息
     * 
     * @param id 项目开工申请主键
     * @return 结果
     */
    public int deleteProjectStartApplicationById(Long id);
}
